<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.0.3/socket.io.js"></script>
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
</head>
<body>
<script type="text/javascript">
		var socket = io.connect('http://localhost:8888');

		socket.on('connect', function() {
			console.log("connect to server  ");
		});

		socket.on('appLocation', function(data) {
			
			
			console.log("appLocation: " + data);
		});
	</script>
</body>
</html>